Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ACTS tracking in all CIs #1518

Merged
merged 4 commits into from
Jan 22, 2025
Merged

Add ACTS tracking in all CIs #1518

merged 4 commits into from
Jan 22, 2025

Conversation

tvami
Copy link
Member

@tvami tvami commented Jan 18, 2025

I am updating ldmx-sw, here are the details.

What are the issues that this addresses?

First step to resolve #1517

Resolves #1487

Check List

  • I successfully compiled ldmx-sw with my developments
  • I ran my developments and the following shows that they are successful.

Copy link
Member

@tomeichlersmith tomeichlersmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only request is focused on using the newer syntax for configuring the logger. While both work, since these configs are used as reference by many folks, I'd like them to contain the newer syntax as example.

# The Tracking modules produce a lot of helpful messages
# but (at the debug level) is too much for commiting the gold log
# into the git working tree on GitHub
p.termLogLevel = 0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to use the newer syntax? (I also want to double check that #1458 works.)

Suggested change
p.termLogLevel = 0
p.logger.termLevel = 0

.github/validation_samples/inclusive/config.py Outdated Show resolved Hide resolved
.github/validation_samples/inclusive/config.py Outdated Show resolved Hide resolved
.github/validation_samples/it_pileup/config.py Outdated Show resolved Hide resolved
.github/validation_samples/kaon_enhanced/config.py Outdated Show resolved Hide resolved
.github/validation_samples/signal/config.py Outdated Show resolved Hide resolved
Copy link

@fdelzanno fdelzanno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume the values of the cuts on the SeedFinding (i.e. pmin, pmax, d0min, d0max, etc.) are up to date from the tracking people (I haven't followed their developments in the last weeks)? If so, the implementation looks good to me.

@bryngemark
Copy link
Contributor

I assume the values of the cuts on the SeedFinding (i.e. pmin, pmax, d0min, d0max, etc.) are up to date from the tracking people

I agree with this comment, but even more so, I think whatever has been settled on in recent tracking optimizations should go in as defaults for all these processors, and not be specified in detail here. As @tomeichlersmith pointed out, the validation configs are very useful examples and having people set all kinds of variables themselves is not sustainable in the long term.

@tvami
Copy link
Member Author

tvami commented Jan 21, 2025

@bloodyyugo @EBerzin can you please confirm?

@bloodyyugo
Copy link
Contributor

I agree with this comment, but even more so, I think whatever has been settled on in recent tracking optimizations should go in as defaults for all these processors, and not be specified in detail here. As @tomeichlersmith pointed out, the validation configs are very useful examples and having people set all kinds of variables themselves is not sustainable in the long term.

Yeah, these values are good. Setting them as default values is a good idea, but we use the same class for both tagger and recoil tracking and they potentially have different values (though right now they are so loose they might as well be the same). That said, we could easily add a switch to tell the code if it's doing tagger or recoil and set the parameters appropriately.

I plan on changing how these cuts are implemented in the nearish future, so I can add this then.

@EBerzin
Copy link
Contributor

EBerzin commented Jan 22, 2025

The values look good for the tagger. But these config files use RecoilTruthSeeds for recoil tracking, which are much cleaner than reconstructed seeds. In this case the parameters that are set for seeder_recoil I think actually don't matter. But if we want to use reconstructed seeds in these configs, the optimized parameters I found are a bit different, and the full tracking chain also requires an ambiguity resolution step. I was planning to open a PR with those ambiguity resolution changes later today, which will also include an example config with the optimized seeding parameters.

Co-authored-by: Tom Eichlersmith <[email protected]>
@tvami tvami requested a review from tomeichlersmith January 22, 2025 17:31
@tvami
Copy link
Member Author

tvami commented Jan 22, 2025

OK I suggest we do this in two steps, like that the CI tests will actually show the improvements with the full suite of tracking in Elisabeth's PR

@bryngemark
Copy link
Contributor

Thanks @bloodyyugo and @EBerzin for checking the numbers. Great to hear that the tracking parameters are going to be updated.

How about we do it this way. @tvami removes the specific parameters being set from these configs, and when you update the defaults to the better ones, the CI test will show the difference it makes?

@bryngemark
Copy link
Contributor

Haha @tvami is clearly onboard at least :)

@tvami tvami merged commit 1047041 into trunk Jan 22, 2025
3 checks passed
@tvami tvami deleted the iss1517-tracking-prop-in-ecal branch January 22, 2025 18:12
tvami added a commit that referenced this pull request Jan 24, 2025
* Add ACTS tracking in all CIs
* Dont switch the tracking in ecal on yet
* Move to `ldmx-reduced-v2` in CI
* Move to p.logger for logging

---------

Co-authored-by: Tom Eichlersmith <[email protected]>
tvami added a commit that referenced this pull request Jan 24, 2025
* Add ACTS tracking in all CIs
* Dont switch the tracking in ecal on yet
* Move to `ldmx-reduced-v2` in CI
* Move to p.logger for logging

---------

Co-authored-by: Tom Eichlersmith <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tracking to all CIs Update PU CI validation scripts
6 participants